package com.credithc.customers.base.mapper;

import com.credithc.baseserv.core.mapper.BsBaseMapper;
import com.credithc.customers.base.po.PreCustomerUnifyLoginFlowPo;
import com.credithc.customers.base.ro.LoginFlowRo;
import com.credithc.customers.base.vo.LoginFlowVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author fby
 * @date 2020/01/15 09:46
 */
@Mapper
@Repository
public interface PreCustomerUnifyLoginMapper extends BsBaseMapper<PreCustomerUnifyLoginFlowPo> {

    int getListCount(@Param("ro") LoginFlowRo ro);

    List<LoginFlowVo> getList(@Param("ro") LoginFlowRo ro);

    List<LoginFlowVo> getListRecently(@Param("ro") LoginFlowRo ro);

}
